package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.DeviceDto;
import com.zzyl.dto.DevicePageQueryDto;
import com.zzyl.vo.DeviceVo;

import java.util.List;

public interface DeviceService {
    void syncProductList();


    List<DeviceVo> getAllProduct();

    void registerDevice(DeviceDto deviceDto);

    PageResponse<DeviceVo> selectDeviceByPage(DevicePageQueryDto devicePageQueryDto);

    DeviceVo selectDeviceDetail(DeviceDto deviceDto);

    Object queryDevicePropertyStatus(DeviceDto deviceDto);

    Object queryThingModelPublished(DeviceDto deviceDto);

    void updateDevice(DeviceDto deviceDto);

    void deleteDevice(DeviceDto deviceDto);

    Object pageQueryDeviceServiceData(Long endTime, String iotId, Integer pageSize, Long startTime);
}
